package com.test.qnews.volley;

import android.app.Application;
import android.content.Context;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by dllo on 16/1/12.
 */
public class MyApplication extends Application{
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();

        JPushInterface.init(this);
        JPushInterface.setDebugMode(true);


        context = getApplicationContext();
    }

    public static Context getContext(){
        return context;
    }
}
